package edu.sctu.xialei.june.day20150626one.interfaces.practice;

/**
 * Created by Administrator on 2015/6/26.
 */
public class PeopleUtil extends People implements Printer{

   public People setDge(){
       People people = new People();

       people.age = 20;
       people.name = "小明";
       people.sex = "男";

       return people;
   }

    @Override
    public void printPeopleData(People people) {
        System.out.println(people.name);
    }
}
